package wlf.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import wlf.mapper.RoleMapper;
import wlf.pojo.Admin;
import wlf.pojo.Role;
import wlf.service.RoleService;

@Service
public class RoleServiceImpl implements RoleService {
	@Resource
	private RoleMapper roleMapper;
	
	@Override
	public List<Role> selRoleByAdmin(Admin admin) {
		return roleMapper.selRoleByAdmin(admin);
	}

}
